package com.HuiShou.service;

import java.util.List;
import com.HuiShou.domain.UserPointsAccount;

/**
 * 积分账户Service接口
 * 
 * @author lyz
 * @date 2025-03-21
 */
public interface IUserPointsAccountService 
{
    /**
     * 查询积分账户
     * 
     * @param userId 积分账户主键
     * @return 积分账户
     */
    public UserPointsAccount selectUserPointsAccountByUserId(Long userId);

    /**
     * 查询积分账户列表
     * 
     * @param userPointsAccount 积分账户
     * @return 积分账户集合
     */
    public List<UserPointsAccount> selectUserPointsAccountList(UserPointsAccount userPointsAccount);

    /**
     * 新增积分账户
     * 
     * @param userPointsAccount 积分账户
     * @return 结果
     */
    public int insertUserPointsAccount(UserPointsAccount userPointsAccount);

    /**
     * 修改积分账户
     * 
     * @param userPointsAccount 积分账户
     * @return 结果
     */
    public int updateUserPointsAccount(UserPointsAccount userPointsAccount);

    /**
     * 批量删除积分账户
     * 
     * @param userIds 需要删除的积分账户主键集合
     * @return 结果
     */
    public int deleteUserPointsAccountByUserIds(Long[] userIds);

    /**
     * 删除积分账户信息
     * 
     * @param userId 积分账户主键
     * @return 结果
     */
    public int deleteUserPointsAccountByUserId(Long userId);
}
